package com.cmpan.networkdisk.model;

/**
 * ClassName:Page
 * Package:com.cmpan.networkdisk.model
 * Description:
 *
 * @Date:2020/7/13 16:47
 * @com.chuangmei
 */
public class Page {

    //总页数
    private int totalpage;
    //页码
    private int startpage;
    //每页数据
    private int pagesize;

    public int getPagequantity() {
        return pagequantity;
    }

    public void setPagequantity(int pagequantity) {
        this.pagequantity = pagequantity;
    }

    private int pagequantity;

    public Page() {
    }


    public int getTotalpage() {
        return totalpage;
    }

    public void setTotalpage(int totalpage) {
        this.totalpage = totalpage;
    }

    public int getStartpage() {
        return startpage;
    }

    public void setStartpage(int startpage) {
        this.startpage = startpage;
    }

    public int getPagesize() {
        return pagesize;
    }

    public void setPagesize(int pagesize) {
        this.pagesize = pagesize;
    }

    @Override
    public String toString() {
        return "Page{" +
                "totalpage=" + totalpage +
                ", startpage=" + startpage +
                ", pagesize=" + pagesize +
                ", pagequantity=" + pagequantity +
                '}';
    }
}
